Prove that algebra formula